package com.nciae.service;

import com.nciae.po.OrderDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 订单详情表 服务类
 * </p>
 *
 * @author YangChen
 * @since 2021-10-14
 */
public interface IOrderDetailService extends IService<OrderDetail> {

    /**
     * 查看所有的订单类表
     * @return
     */
    List<OrderDetail> findAll();

    /**
     * 查询订单
     * @param orderId
     * @return
     */
    List<OrderDetail> findByOrderId(String orderId);


    OrderDetail insert(OrderDetail orderDetail);
}
